package com.briup.cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.cms.bean.Slideshow;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author briup
 * @since 2025-03-19
 */
public interface ISlideshowService extends IService<Slideshow> {
    List<Slideshow> queryAllEnable();


    IPage<Slideshow> query(Integer page, Integer pageSize,
                           String status, String desc);
    Slideshow queryById(Integer id);
    //4.新增或修改
    boolean saveOrUpdate(Slideshow slideshow);

    void deleteInBatch(List<Integer> ids);
}
